
/*
 * Copyright (C) 2010 Seapeak.Xu
 *
 * fostmq may be copied only under the terms of the GNU General
 * Public License V3, which may be found in the fostmq source kit.
 *
 * Created on: 2010-10-14
 * Author: Seapeak.Xu
 */

#ifndef FOST_NOTIFY_H
#define FOST_NOTIFY_H
#ifdef __cplusplus
extern "C"
{
#endif

#include <stdlib.h>
#include <stdio.h>
#include <event.h>
#include <unistd.h>

#include "fost_notifypool.h"
#include "fost_taskpool.h"

int notify_event_init(notify_elt_t *notify_elt);
void notify_read_event(int sock,short events,void *arg);
//int notify_send_event(task_t *task);

#ifdef __cplusplus
}
#endif
#endif
